package com.amazon.ags.overlay;

import com.amazon.ags.api.overlay.PopUpLocation;

public enum PopUpPrefs
{
  private static final int FADE_IN_DURATION_MS = 500;
  private static final int FADE_OUT_DURATION_MS = 5000;
  private static final int WELCOME_BACK_FADE_IN_DURATION = 500;
  private static final int WELCOME_BACK_FADE_OUT_DURATION = 3000;
  private PopUpLocation popUpLocation = PopUpLocation.TOP_RIGHT;
  private boolean popUpsEnabled = true;

  static
  {
    PopUpPrefs[] arrayOfPopUpPrefs = new PopUpPrefs[1];
    arrayOfPopUpPrefs[0] = INSTANCE;
  }

  public void disable()
  {
    try
    {
      INSTANCE.popUpsEnabled = false;
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public void enable()
  {
    try
    {
      INSTANCE.popUpsEnabled = true;
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public int getFadeInDuration()
  {
    return 500;
  }

  public int getFadeOutDuration()
  {
    return 5000;
  }

  public PopUpLocation getLocation()
  {
    try
    {
      PopUpLocation localPopUpLocation = this.popUpLocation;
      return localPopUpLocation;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public int getWelcomeBackFadeInDuration()
  {
    return 500;
  }

  public int getWelcomeBackFadeOutDuration()
  {
    return 3000;
  }

  public boolean isEnabled()
  {
    try
    {
      boolean bool = this.popUpsEnabled;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public void setLocation(PopUpLocation paramPopUpLocation)
  {
    try
    {
      this.popUpLocation = paramPopUpLocation;
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.overlay.PopUpPrefs
 * JD-Core Version:    0.6.2
 */